import { defineStore } from 'pinia'
export const userStore = defineStore('user', {
    state:()=>{
        return{
            user:{}
        }
    },
    actions:{
        setuser(obj){
            this.user=obj
        }
    },
    persist:{
        storage:window.sessionStorage
    } 
})